/**
 * RulesService.java
 * 2008-3-13
 * @author 屈甲康qujiakang@gmail.com
 */
package org.jackysoft.service;

import java.io.File;
import java.io.IOException;
import java.util.Collection;
import java.util.concurrent.ExecutionException;

import org.jackysoft.data.IDataNoSqlProvider;
import org.jackysoft.entity.nosql.Rules;
import org.springframework.dao.DataAccessException;

/**
 * @author Administrator
 * 
 */
public interface RulesService extends IDataNoSqlProvider<Rules>{


	void create(Rules bean,File file,String fileName) throws DataAccessException, InterruptedException, ExecutionException;

	Collection<Rules> search(String q) throws Exception;
	void reindex() throws DataAccessException, IOException;

}
